Pakistan signs letter on trilateral railway project