I'm not sure if you can get rid of them completely but you can increase the distance at which they are drawn. In hammer click Tools> Options> 3d Views tab> then increase the model render distance slider bar. You can increase it to 10,000 which is pretty large. Be warned tho, those yellow boxes are there to improve your computers performance in hammer.