Attempts to ban the sale of peat-based compost is a “full frontal attack on British horticulture”, a Tory MP has said.