A 25-year-old man who brutally stabbed his neighbour to death has pleaded guilty to manslaughter due to diminished responsibilty.