McCarthy appears to fail first vote to be elected House speaker