The quality of Facebook's trending stories has suffered after it replaced human editors with algorithms.