Builders may challenge sand mining ban