A Hertfordshire school has been fined for safety failings after a pupil suffered permanent paralysis when a swing collapsed.