Officer who developed PTSD after Pulse massacre to lose job