Military to take over parts of Medellin to curb gang wars