The move by the Senate Judiciary Committee would essentially protect agencies that may have a faith-based mission and do not want to place children with same-sex couples, although it could be applied broadly.