Rooney leaves St Mirren ‘by mutual consent’ after assault charge