Rebuild BoundaryElement ranges when the mesh changes

closes #3894