Pakistan's premier appears in court over 2014 school bombing