Resistive dissipation in imperfect crystals of YBa2Cu3O7−δ