Will drafted by experienced partner was invalid, appeal judges rule