Professor who wished Queen 'excruciating' pain will not be fired due to 'firm support' of university