Linear Convergence for Distributed Optimization Under the Polyak-{\L}ojasiewicz Condition