McCain , who also opposes an amendment to the U.S. Constitution to ban same-sex unions , said people should be encouraged to enter into legal agreements , particularly for insurance and other areas where decisions need to be made .