Photo-induced cooperative covalent-bond switching in amorphous arsenic selenide