Gurkhas lose pensions challenge