Philippines militants jailed over tourist killings: court