Theory of instability-generated divergence of intense ion beams from applied-B ion diodes