make member functions in BlockRestrictable and BoundaryRestrictable cons...

...t #2896