A ‘talented’ university student took his own life after being accused of ‘slashing the throat’ of a flatmate, an inquest has heard.