SUBALGEBRAS OF LOOP ALGEBRAS AND SYMMETRIES OF THE KADOMTSEV-PETVIASHVILI EQUATION