Lawsuit against Lafayette officer dismissed