Theoretical explanation of broad resistive transition in high temperature superconductors in magnetic field