Electron–anode interactions in particle-in-cell simulations of applied-B ion diodes