Utility to remove a constraint from its holder and return it.