Disgruntled MPs have criticised the Scottish Secretary for “his failures in the leadership of the Scottish election campaign”.