Chris Robby
You mention a couple of things that don't apply to you because you are in HM Forces..
1.. You do not have a contract of employment in any form.
2.. The majority of employment laws do not apply to HM Forces.
If you leave in the 4th year of a 5 year FRI scheme, you get to pay the whole lot back!!
Why? Because they can!!