Assemblyman Vito Lopez loses post in sex harassment case