Bill would confine train safety whistle