Pakistan committed to eliminate terrorism: PM