A rescue operation has been launched in Pakistan after separatist fighters hijacked a train with hundreds of civilians.