The American shale oil boom did wonders for Republicans