Beyond interpolation: Physics-inspired gating transformers for extrapolating irradiation conditions to novel nuclear fuels