Israeli PM hints at commitment to two-state solution