The measure urging Moscow to release Evan Gershkovich, a Wall Street Journal reporter arrested on assignment, and Paul Whelan, a former Marine, earned the unanimous backing of the House.