Fix select_tag generating tag when set to false.

Fixes https://github.com/rails/rails/issues/17701.