Militias reach “preliminary agreement” to demobilize in west Tripoli