The GOP failed to rally the support needed to pass the bill, facing pressure from both its conservative and moderate wings.