Top Republican yanks endorsement of House candidate who made offensive social media posts