The family of Sheku Bayoh have reached an out-of-court settlement with Police Scotland after moving to sue the force following his death.