A $48 billion deal that would create the nation’s largest health insurer inched closer to completion after shareholders of both Anthem and Cigna voted in favor of a buyout.