Ultimate Behaviour of Bolted T-Stubs, I: Theoretical Model