Distributed Convex Relaxation for Heterogeneous Task Replication in Mobile Edge Computing