In terse statement, Buckingham Palace says 'the Duke of York's military affiliations and royal patronages have been returned to the queen,' and he will cease 'any public duties'