On the flatness of models of certain Shimura varieties of PEL-type