A high-ranking FDNY Emergency Medical Service chief who recently failed a random drug test and another chief with spotty timekeeping records have abruptly put in retirement papers, The Post has learned.