Jakarta vows to free hostages