Analysis of failure mechanisms in velocity-matched distributed photodetectors