Split attorney general’s functions, say MPs