A Pakistani court has ordered that two men have their ears and noses cut off, as punishment for doing the same to a woman who refused to marry one of them.