One of the biggest professional organisations representing judges has given broad backing to a proposed pay settlement with the government.