Chaotic oscillations in electron beam with virtual cathode in external magnetic field