House farm bill fails as conservatives revolt over immigration